package com.xbongbong.pro.marketing.pojo.dto;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Getter
@Setter
@ToString
public class MarketingManagementDataAddDTO extends MarketingManagementDTO {


    private static final long serialVersionUID = 1759361203266830278L;
    /**
     * 业务类型
     */
    @NotNull(message = "{dto.msg.marketingManagement.subBusinessType.NotNull}")
    private Integer subBusinessType;

    @NotEmpty(message = "{dto.msg.formDataAdd.dataList.NotEmpty}")
    private JSONObject dataList;

    private JSONArray productArray;

}
